import mockjs from "mockjs";
import cgi from "conf/cgi";
//主菜单信息
mockjs.mock(cgi.proposalQueryDataList, {
    "code": 0,
    "msg": "success",
    "data": {
        "totalnum":300,
        "ps":20,
        "p":1,
        "list|20": [
            {
                "createUser": "ghg",
                "createIp": "0:0:0:0:0:0:0:1",
                "createDate": "2017-05-19 14:55:59",
                "updateUser": "ghg",
                "updateIp": "0:0:0:0:0:0:0:1",
                "updateDate": "2017-05-22 17:23:04",
                "versionNo": null,
                "enableFlag": "Y",
                "deleteFlag": "N",
                "companyId": 1,
                "id": 3,
                "activityPeriods": "002",
                "activityName": "活动2",
                "activityType": "actType_task",
                "startTime": "2017-05-01 14:55:48",
                "endTime": "2017-05-31 14:55:51",
                "finishDays": 1,
                "withGoldDays": 5,
                "coinDays": 2,
                "demoKeepAmount": 6,
                "maxExchangeCount": 3,
                "position": null,
                "activityUrl": null,
                "activityImg": null,
                "islogin": null,
                "loginjsFunctionName": null,
                "otherMsg": null,
                "special": null,
                "pno": "A170519B0002",
                "proposer": "ghg",
                "proposalDate": "2017-05-19 14:55:59",
                "proposalStatus": "待审批",
                "approver": null,
                "approveDate": null,
                "canceller": null,
                "cancelDate": null,
                "cancelReason": null,
                "activityTypeStr": "任务型",
                "modifyDetails": null
            }
        ]
    },
});
mockjs.mock(cgi.revisepProposalInfo, {
    "code": 0,
    "msg": "success",
    "data": {
                "createUser": "ghg",
                "createIp": "0:0:0:0:0:0:0:1",
                "createDate": "2017-05-19 14:55:59",
                "updateUser": "ghg",
                "updateIp": "0:0:0:0:0:0:0:1",
                "updateDate": "2017-05-22 17:23:04",
                "versionNo": null,
                "enableFlag": "Y",
                "deleteFlag": "N",
                "companyId": 1,
                "id": 3,
                "activityPeriods": "002",
                "activityName": "活动2",
                "activityType": "actType_task",
                "startTime": "2017-05-01 14:55:48",
                "endTime": "2017-05-31 14:55:51",
                "finishDays": 1,
                "withGoldDays": 5,
                "coinDays": 2,
                "demoKeepAmount": 6,
                "maxExchangeCount": 3,
                "position": null,
                "activityUrl": null,
                "activityImg": null,
                "islogin": null,
                "loginjsFunctionName": null,
                "otherMsg": null,
                "special": null,
                "pno": "A170519B0002",
                "proposer": "ghg",
                "proposalDate": "2017-05-19 14:55:59",
                "proposalStatus": "待审批",
                "approver": null,
                "approveDate": null,
                "canceller": null,
                "cancelDate": null,
                "cancelReason": null,
                "activityTypeStr": "任务型",
                "modifyDetails": null
    },
});
